home *** CD-ROM | disk | FTP | other *** search
- <SCRIPT LANGUAGE="JavaScript">
- <!--
- function psHover(ignored) {}
- function psNormal(ignored){}
- function psClick(ignored){}
- // -->
- </SCRIPT>
-
- <SCRIPT LANGUAGE="JavaScript1.1">
- <!--
- // Generated by PageSpinner, www.optima-system.com
- gNumImages = 0;
- var lastButton="";
- function psHover(bName)
- {
- if (document.images)
- {
- if (lastButton != "")
- psNormal(lastButton);
-
- lastButton=bName;
- if (!document.images[bName])
- return false;
-
- document.images[bName].src = hoverSrc[bName];
- if (clickSrc[bName])
- {
- tmpImage = new Image();
- tmpImage.src = clickSrc[bName];
- delete tmpImage;
- }
- if (imgStatusText[bName] != "")
- { self.status = imgStatusText[bName]; return true; }
- }
- return false;
- }
-
- function psClick(bName)
- {
- if (document.images)
- {
- lastButton=bName;
- if (!document.images[bName] || clickSrc[bName]=="")
- return true;
-
- document.images[bName].src = clickSrc[bName];
- }
- return true;
- }
-
- function psNormal(bName)
- {
- if(document.images && bName != "")
- {
- if (document.images[bName])
- document.images[bName].src = normalSrc[bName];
-
- if (imgStatusText[bName] != "")
- { self.status = ""; return true; }
- }
- return false;
- }
-
- function psRegImages(bName, normalSource, hoverSource, clickSource, width, height, statusText)
- {
- if (document.images)
- {
- gNumImages++;
- normalSrc[bName] = normalSource;
- hoverSrc[bName] = hoverSource;
- clickSrc[bName] = clickSource;
- imgStatusText[bName] = statusText;
- }
- }
-
- if (document.images)
- {
- hoverSrc = new Array(gNumImages);
- normalSrc = new Array(gNumImages);
- clickSrc = new Array(gNumImages);
- imgStatusText = new Array (gNumImages);
- }
- // -->
- </SCRIPT>
-